package com.gjsh.m_extends;

public class Test01 {
    public static void main(String[] args) {
        JavaEE javaee = new JavaEE();
        javaee.setName("张三");
        javaee.setId(1);
        javaee.work();


        System.out.println("-----------------------------------------");

        Network network = new Network();
        network.setName("李四");
        network.setId(2);
        network.work();

        System.out.println("---------------------------------------------");
    }
}
